﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OnlineNewsEditorial_DaoLibrary.Interfaces
{
    public interface IDao<Obj>// where Obj: class
    {
        bool create(Obj obj);

        bool update(Obj obj);

        bool delete(Obj obj);

        List<Obj> getAll();

        //IEnumerable<Obj> getAll();
    }
}
